WooCommerce\Square\Framework\PaymentGateway\Payment_Gateway_Payment_Form A

Total Complexity 59
Dependencies 3
Dependents 1
Total lines 840
Lines of code 272
Logical lines of code 116
Comment lines 413
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
get_tokens()
S
59 6 15
get_save_payment_method_checkbox_html()
S
53 5 22
get_saved_payment_method_title()
S
53 5 22
get_credit_card_fields()
S
42 2 61
tokenization_forced()
S
66 6 7
tokenization_allowed()
S
66 5 7
render_saved_payment_methods()
S
70 4 6
get_saved_payment_methods_html()
S
59 3 14
get_payment_form_description_html()
S
63 3 10
render_js()
S
57 2 15
get_use_new_payment_method_input_html()
S
60 2 13
get_payment_fields()
S
63 2 11
render_payment_fields()
S
74 2 5
get_saved_payment_method_html()
S
61 1 12
render_payment_field()
S
78 1 3
render_fieldset_start()
S
75 1 4
render_fieldset_end()
S
74 1 5
__construct()
S
74 1 5
render_payment_form_description()
S
81 1 3
render()
S
72 1 5
add_hooks()
S
63 1 9
default_new_payment_method()
S
82 1 3
has_tokens()
S
80 1 3
get_gateway()
S
82 1 3
get_manage_payment_methods_button_html()
S
64 1 9